<?xml version="1.0" encoding="UTF-8"?>
<!--
    Document   : Page1
    Created on : 24/10/2008, 14:01:20
    Author     : user
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component"
    xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ice:outputHtml id="outputHtml1">
            <ice:outputHead id="outputHead1">
                <ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
                <ice:outputStyle href="./xmlhttp/css/rime/rime.css" id="outputStyle2"/>
                <!-- Java Script -->
                <script>
                function hidden(){
                document.body.style.overflow='hidden';
                }
                /* Função para mascarar o campo */
                function mascara(o,f){
                  v_obj=o;
                  v_fun=f;
                  setTimeout("execmascara()",1);
                }
                /* Função para executar a mascara */
                function execmascara(){
                  v_obj.value=v_fun(v_obj.value);
                }
                /* Função para padronizar o CPF */
                function cpf(v){
                  v=v.replace(/\D/g,"")
                  v=v.replace(/(\d{3})(\d)/,"$1.$2")
                  v=v.replace(/(\d{3})(\d)/,"$1.$2")
                  v=v.replace(/(\d{3})(\d{1,2})$/,"$1-$2")
                  return v;
                }
                </script>
                <!-- Título da Página -->
                <title> Bem Vindo Associado! </title>
            </ice:outputHead>
            <ice:outputBody id="outoutBody1" style="-rave-layout: grid" text="Entre com seu CPF">
                <ice:form id="form1">
                    <!-- Painel Geral -->
                    <ice:panelGroup id="painelGeral" style="height: 768px; margin-left: -512px; left: 50%; top: 0px; position: absolute; width: 1024px">
                        <!-- Imagem de Fundo -->
                        <ice:graphicImage id="imagemFundo"
                            style="height: 768px; margin-left: -512px; margin-top: -384px; left: 50%; top: 50%; position: absolute; width: 1024px" url="/resources/Login.jpg"/>
                        <!-- Painel Conteúdo -->
                        <ice:panelLayout id="painelConteudo" layout="flow" style="height: 408px; left: 619px; top: 144px; position: absolute; width: 366px; -rave-layout: grid">
                            <ice:outputText id="acesso"
                                style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; font-style: normal; font-weight: bold; left: 145px; top: 73px; position: absolute" value="Acesso"/>
                            <!-- Labels -->
                            <ice:outputLabel id="labelCpf"
                                style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 18px; font-style: normal; font-weight: bold; left: 48px; top: 144px; position: absolute; text-align: right; width: 94px" value="CPF:"/>
                            <ice:outputLabel id="labelSenha"
                                style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 18px; font-style: normal; font-weight: bold; left: 48px; top: 193px; position: absolute; text-align: right; width: 96px" value="Senha:"/>
                            <!-- Campo Cpf -->
                            <ice:inputText action="#{Page1.campoCpf_action}" binding="#{Page1.campoCpf}" id="campoCpf" maxlength="14"
                                onkeypress="mascara(this,cpf);"
                                style="font-family: Verdana,Arial,Helvetica,sans-serif; height: 24px; left: 143px; top: 150px; position: absolute" tabindex="1" title="Entre com seu CPF"/>
                            <!-- Campo Senha -->
                            <ice:inputSecret binding="#{Page1.campoSenha}" id="campoSenha" maxlength="11" redisplay="true"
                                style="font-family: Verdana,Arial,Helvetica,sans-serif; height: 24px; left: 143px; top: 193px; position: absolute" tabindex="2" title="Entre com sua senha"/>
                            <!-- Link Senha -->
                            <ice:commandLink action="#{Page1.linkSenha_action}" id="linkSenha"
                                style="color: blue; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 12px; height: 24px; left: 143px; top: 230px; position: absolute"
                                tabindex="3" value="Esqueceu sua senha?"/>
                            <!-- Botão Entrar -->
                            <ice:commandButton action="#{Page1.botaoEntrar_action}" binding="#{Page1.botaoEntrar}" id="botaoEntrar"
                                image="/resources/botaoEntrar.png"
                                style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; height: 24px; left: 170px; top: 280px; position: absolute; width: 71px"
                                tabindex="4" title="Entrar no sistema" value="Entrar"/>
                        </ice:panelLayout>
                    </ice:panelGroup>
                </ice:form>
            </ice:outputBody>
        </ice:outputHtml>
    </f:view>
</jsp:root>
